package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.SpecificationValueEntity;
import com.xbongbong.saas.domain.entity.WarehouseOristockEntity;
import com.xbongbong.saas.domain.entity.WarehouseOristockProductEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by xbb on 2019/10/17.
 */
public interface WarehouseOristockProductDao {

    void insertBatch(@Param("list") List<WarehouseOristockProductEntity> list);

    List<WarehouseOristockEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer getEntitysCount(@Param("param") Map<String, Object> param);

    void deleteByOriId(@Param("corpid") String corpid, @Param("oriIdList") List<Integer> oriIdList);

    Integer insert(WarehouseOristockProductEntity entity);

    List<WarehouseOristockProductEntity> getProductsByOriStockIdIn(@Param("corpid") String corpid, @Param("oriStockIdIn") List<Long> oriStockIdIn);
}
